package com.yutel.phone.binh.service;

import java.util.ArrayList;

import android.content.Intent;

import com.yutel.phone.binh.data.vo.VideoDetail;

public class DetailService extends SyncService {

	@Override
	protected ArrayList<VideoDetail> getData(Intent intent) {
		String vid = intent.getStringExtra(Intent.EXTRA_UID);
		VideoDetail vd = dq.queryVideoInfo(vid);
		if (vd != null) {
			ArrayList<VideoDetail> list = new ArrayList<VideoDetail>();
			list.add(vd);
			return list;
		}
		return null;
	}

	@Override
	protected String getKey() {
		return this.getClass().getSimpleName();
	}

}
